package com.wonder.app.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description:TODO(汇报检验单详情实体类)
 *
 * @author: Wonder
 *
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_prd_report_inspect_detail")
@ApiModel(value="t_prd_report_inspect_detail", description="汇报检验单")

public class PrdReportInspectDetail extends Model<PrdReportInspectDetail> {

    @TableId(value ="Id", type = IdType.AUTO)
    @ApiModelProperty(name = "Id" , value = "主键")
    private Long Id;

    @TableField(value = "FBillNo")
    @ApiModelProperty(name = "FBillNo" , value = "单据编号")
    private String FBillNo;

    @TableField(value = "materialName")
    @ApiModelProperty(name = "materialName" , value = "物料编码")
    private String materialName;

    @TableField(value = "materialNo")
    @ApiModelProperty(name = "materialNo" , value = "物料名称")
    private String materialNo;

    @TableField(value = "specification")
    @ApiModelProperty(name = "specification" , value = "规格型号")
    private String specification;

    @TableField(value = "unitNo")
    @ApiModelProperty(name = "unitNo" , value = "单位内码")
    private String unitNo;

    @TableField(value = "unitName")
    @ApiModelProperty(name = "unitName" , value = "单位名称")
    private String unitName;

    @TableField(value = "flot")
    @ApiModelProperty(name = "flot" , value = "批号，判断物料是否启用，如果启用默认999")
    private String flot;

    @TableField(value = "inspectQty")
    @ApiModelProperty(name = "inspectQty" , value = "检验数量")
    private Double inspectQty;

    @TableField(value = "unqualifiedQty")
    @ApiModelProperty(name = "unqualifiedQty" , value = "不合格数量")
    private Double unqualifiedQty;

    @TableField(value = "qualifiedQty")
    @ApiModelProperty(name = "qualifiedQty" , value = "合格数量")
    private Double qualifiedQty;

    @TableField(value = "result")
    @ApiModelProperty(name = "result" , value = "检验结果")
    private String result;

    @TableField(value = "FAuxUnitNo")
    @ApiModelProperty(name = "FAuxUnitNo" , value = "辅助单位编码")
    private String FAuxUnitNo;

    @TableField(value = "FAuxUnitName")
    @ApiModelProperty(name = "FAuxUnitName" , value = "辅助单位名称")
    private String FAuxUnitName;

    @TableField(value = "isChecked")
    @ApiModelProperty(name = "isChecked" , value = "是否质检")
    private Boolean isChecked;

    @TableField(value = "stockNo")
    @ApiModelProperty(name = "stockNo" , value = "仓库编码")
    private String stockNo;

    @TableField(value = "stockName")
    @ApiModelProperty(name = "stockName" , value = "仓库名称")
    private String stockName;

    @TableField(value = "locationNo")
    @ApiModelProperty(name = "locationNo" , value = "仓位编码")
    private String locationNo;

    @TableField(value = "locationName")
    @ApiModelProperty(name = "locationName" , value = "仓位名称")
    private String locationName;

}
